<?php
define('STIME',microtime(true));
require_once './includes/base.php';
$base = new Base();
$base->_init_all();
$module = isset($_REQUEST['m']) ? trim($_REQUEST['m']) : 'store';
$function= isset($_REQUEST['f']) ? trim($_REQUEST['f']) : 'index';

if(module_exists($module)) {
	m($module);
	$classname = ucfirst($module).'Module';
	$m = new $classname;
	$m->$function();
}else{
	error(Lang::get('page_not_exists'));
}
?>